package com.njwb.day15.zqzb.method.review;

public class Person {
    private String name ;
    private int age ;

    private String address;



    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @Override
    public String toString() {
        return "Person{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", address='" + address + '\'' +
                '}';
    }


    private void test02(String a,int b) throws ArithmeticException,ArrayIndexOutOfBoundsException{
        System.out.println("Node:"+a);
        System.out.println("b:"+b);
    }
    void test03(int a,int b,int c) {

    }
    protected  void test04 (){

    }

    public static void hello1(int a) {
        System.out.println("Node:"+a);

        System.out.println("over...........");
    }

}
